<style type="text/css">
<!--
.ed{
border-style:solid;
border-width:thin;
border-color:#00CCFF;
padding:5px;
margin-bottom: 4px;
}
#button1{
text-align:center;
font-family:Arial, Helvetica, sans-serif;
border-style:solid;
border-width:thin;
border-color:#00CCFF;
padding:5px;
background-color:#00CCFF;
height: 34px;
}
-->
</style>
<?php
	include('../config.php');
	$name=$_GET['name'];
	$result = mysql_query("SELECT * FROM user where uName='$name'");
	while($row = mysql_fetch_array($result))
	{
		$name=$row['uName'];
		$firstname=$row['Firstname'];
		$lastname=$row['Lastname'];
		$email=$row['Email'];
		$address=$row['uAddress'];
	}
?>
<form action="user/modify.php" method="POST">
	<input type="hidden" name="name" value="<?php echo $name=$_GET['name'] ?>">
	Firstname:<br><input type="text" name="firstname" value="<?php echo $firstname ?>" class="ed"><br>
	Lastname:<br><input type="text" name="lastname" value="<?php echo $lastname ?>" class="ed"><br>
	Email:<br><input type="text" name="email" value="<?php echo $email ?>" class="ed"><br>
	Address:<br><textarea name="address" class="ed"><?php echo $address ?></textarea><br>
	<input type="submit" value="Edit" id="button1">
</form>